"""
fcuntion:和系统相关.
date: 2018/8/22
"""
import os, time


def get_clear():
    """
    function:刷新屏幕，让屏幕清空.
    other implement:
        os.system('reset')
        os.system('clear')
    """
    os.system('printf "\033c"')


def fast_forward(speed=1):
    while 1:
        # print(1 / speed, flush=True)
        speed += 0.1
        time.sleep(1 / speed)


fast_forward(10)